import { axios } from '@/utils/request'

// 获取公共账户明细
export function getCommonAccountInfo(params) {
  return axios({
    url: '/user/jwhCommonAccount/getCommonAccountInfo',
    method: 'get',
    params,
  })
}

// 财务管理-家委会交易详情
export function queryAccountInfoById(params) {
  return axios({
    url: '/user/jwhCommonAccount/queryAccountInfoById',
    method: 'get',
    params,
  })
}

// 获取缴费详情信息
export function getFeesInfo(params) {
  return axios({
    url: '/release/jwhFees/getFeesInfo',
    method: 'get',
    params,
  })
}

// 获取退费详情
export function getRefundInfo(params) {
  return axios({
    url: '/user/jwhRefund/getRefundInfo',
    method: 'get',
    params,
  })
}

// 审核退费
export function checkRefund(params) {
  return axios({
    url: '/user/jwhRefund/checkRefund',
    method: 'get',
    params,
  })
}

// 审核报销
export function checkExpense(params) {
  return axios({
    url: '/user/jwhExpense/checkExpense',
    method: 'get',
    params,
  })
}
